package com.shigi.sat.ga;

import com.shigi.sat.structure.SatInstance;

/**
 * Created by msiagi on 3.2.2015.
 */
public class SatIndividual {

    public SatInstance satInstance;
    public double fitnessValue = 0.0;


    public SatIndividual(SatInstance satInstance) {
        this.satInstance = satInstance;
    }

    public SatIndividual(SatIndividual anotherIndividual) {
        this.satInstance = new SatInstance(anotherIndividual.satInstance);
        this.fitnessValue = anotherIndividual.fitnessValue;
    }
}
